package com.jm.programming.lambda;

import java.util.function.IntBinaryOperator;

/**
 * @Description
 * @date 2022/6/29 7:46
 */
public class Test1 {
    public static void main(String[] args) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("普通方法创建线程");
            }
        }).start();

        new Thread(() -> {
            System.out.println("lambda 创建线程");
        }).start();
    }
}
